package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface ConsumerService {
    //物资去处列表  分页带条件
    PageVO<ConsumerVO> findConsumerList(Map<String, Object> queryMap);
    //添加物资去处
    void add(ConsumerVO consumerVO);
    //编辑物资去处
    ConsumerVO edit(Long id);
    //更新
    void update(Long id,ConsumerVO consumerVO);
    //删除
    void delete(Long id);
    //通过id获取Consumer
    Consumer getByid(Long consumerId);
    //获取所有已知去向的出库记录
    List<ConsumerVO> findAll();
}
